package site.qjdb.dao;

import site.qjdb.pojo.OrderItem;
import site.qjdb.pojo.Orders;

import java.util.List;

public interface OrderDao {
	/**
	 * 	添加订单
	 * 
	 * */
	void addOrder(Orders order);
	
	/**
	 * 	添加订单子项
	 * 
	 * */
	void addOrderItem(List<OrderItem> list);
	
	/**
	 * 	查询子订单
	 * 
	 * */
	List<OrderItem> selectOrderItemAll(OrderItem orderItem);

}
